package top.whysu.rongcloud.api;

import io.rong.models.Result;

import java.util.List;

public class GroupsResult extends Result{
    List<Groupinfo> groupinfo;

    public GroupsResult(Integer code, String msg, List<Groupinfo> groupinfo) {
        super(code, msg);
        this.groupinfo = groupinfo;
    }

    public List<Groupinfo> getGroupinfo() {
        return groupinfo;
    }

    public void setGroupinfo(List<Groupinfo> groupinfo) {
        this.groupinfo = groupinfo;
    }

    @Override
    public String toString() {
        return null;
    }

    class Groupinfo{
        private  String groupId;
        private  String stat;

        public String getGroupId() {
            return groupId;
        }

        public void setGroupId(String groupId) {
            this.groupId = groupId;
        }

        public String getStat() {
            return stat;
        }

        public void setStat(String stat) {
            this.stat = stat;
        }
    }
}
